export default {
  dataLook:{      // 数据看板模块
    settingList:{  // 下拉列表
      mainBlockList: "/attribute/info/listByPanelMain",
      controlUrgentList: "/attribute/info/listBySwitch/urgent",
      controlUnurgentList: "/attribute/info/listBySwitch/notUrgent",
      settingBlockList: "/attribute/info/listByInstall",
    },
    add:{    // 新增
      customAdd: "/panel/other/customize/addOrUpdate",  // 暂时不用
      controlAdd: "/panel/other/switch/add",
      settingAdd: "/panel/other/install/add",
      customAdd2: '/panel/other/customize/v2/bindAttributeInfoIds'
    },
    delete:{
      customDelete: "/panel/other/customize/del",
    },
    fix:{
      customFix: "/panel/other/customize/addOrUpdate",
      customFix2: "/panel/other/customize/v2/updateByCustomizeId",
      settingFix: "/panel/other/install/update",
      controlFix: "/panel/other/switch/update",
    },
    myTags: {
      controlTags:"/panel/other/list",  // type:0
      settingTags:"/panel/other/list",  // type:1
      homeTags:"/panel/main/list",
      customTags: '/panel/other/customize/v2/list'
    },
    bind: {
      customBindTags: '/panel/other/customize/v2/clickToViewBindingData'
    },
    home:{
      list: "/panel/main/list",  // 数据看板列表
      add: "/panel/main/add",   // 配置看板的数据 限制40条
    },
    controlOrSetting:{
      list: "/panel/other/list",  //｛0：控制面板，1：参数设定面板
      add: "/panel/other/add",    // 采集项的变量
      customAdd: "/panel/other/customize/add",  // 自定义变量添加
      customList: "/panel/other/customize/list",  // 自定义变量列表
    }
  },
  deviceManage:{
    add: '/equipment/saveOrUpdate',
    baseList: "/attributeInfo/equipment/list",
    list: "/equipment/page",
    runLog:"/equipment/run/list",
    delete: "/equipment/del"
  },
  measureManage:{
    add:'/measuringInstrument/save', // 新增,编辑计量器具
    query:'/measuringInstrument/page', // 列表查询
    delete:'/measuringInstrument/delete',  //子项删除
    info:'/measuringInstrument/info',  //子项详情
  },
  collectManage: {
    collectBaseData: {
      add: '/attributeInfo/save',
      tagList: '/attributeInfo/page',
      delete: '/attributeInfo/delete',
      history: '/attributeInfo/data',
      exportTable: '/attributeInfo/export'
    },
    collectData: {
      lists: '/collect/node/page',
      add: '/collect/node/save',
      delete: '/collect/node/delete',
      info: '/collect/node/info',
      exportForm: '/collect/node/export',
    }
  },
  powerManage:{
    analyzeList: '/energy/management/analysis',      // 数据分析
    monitorList: '/energy/management/monitoring',    // 数据监测
    table: "/energy/management/statistics",          // 统计报表
    exportTable: "/energy/management/export"         // 导出报表
  },
  setting:{
     info: "/sys/config/get",                        // 初始化系统设置
     rangeTime: "/water/supply/time/save",          //  供水时间段
     rangeTimeDelete: "/water/supply/time/delete",   // 删除供水时间段
     update: "/sys/config/update",                  //  修改
     customDateList: "/sys/date/config/list",
     customDateFix: "/sys/date/config/update"
  },
  warnManage: {         // 告警管理模块
    warnList: "/alarm/log/pageBySn",
    warnRuleList: "/alarm/pageBySn",
    warnHandler: "/alarm/log/updateHandleStatus",
    warnForType: '/alarm/log/getAlarmLogSumByType',         //  按照时间类型进行统计
    warnForRule: '/alarm/log/getAlarmLogSumByAlarm',         //  按照规则引擎来进行统计
    save: "/alarm/saveOrUpdate",
    delete: "/alarm/removeById",
  },
  ruleManage:{          // 策略中心模块
    unbindList: "/rule/getRuleNotLinkedAlarmBySn",
    allList: "/rule/pageBySn",
    addRule: "/rule/saveOrUpdate",
    ruleInfo: "/rule/getRuleInfoById",
    save: "/rule/saveRuleInfo",  // 修改和保存详情
    fix: "/rule/saveOrUpdate",   // 修改和保存列表
    delete: "/rule/delByRuleId", // 删除规则
  },

  roleManage:{
    roleList: '/role/list',
    roleBase: '/role/permission',
    roleAdd: '/role/save',
    userList: '/user/list',
    userAdd: '/user/save',
    userDelete:'/user/delete',
    roleDelete:'/role/delete',
    operateLog: '/property/change/log/list'
  },
  bigScreen: {
    bigScreenUrl: '/screen/info',     // 大屏地址
  }
}
